package com.nyj.dao;

import com.nyj.pojo.User;

import java.util.List;

/**
 * @author niuyj
 * @date 2020/5/3 13:58
 * @description
 */
public interface IUserDao {

    //查询所有用户
    public List<User> findAll();

    //按条件查询
    public User findByCondition(User user);
}
